Skip to main content
Version: 5.0

TimePunch Custom Field Service

CustomFieldContentDto

This class contains the user-defined content of the custom fields.

DatatypeNameDescription
GuidIdUnique ID of the custom field content
GuidParentIdId of the source data (e.g. employee id)
GuidCustomFieldIdId of the custom field template

CustomFieldDto

This class contains the technical definition of the customer-specific field.

DatatypeNameDescription
GuidIdUnique ID of the custom field content
SourceDataRelatedToType of Source data to that the custom field belongs (Employee, Project, Task, Customer, TimeEntry, Team, Department, Branch, MonthlySummary)
StringGroupGrouping criteria for custom fields
StringNameDisplay name of the custom field
StringPropertyNameTechnical property name of the custom field, used for accessing the field via reporting service etc.
CustomFieldTypeFieldTypeField type of the custom field (Text, Integer, Decimal, SingleSelection, MultiSelection, Date, Time, DateTime, TimeSpan, Boolean)
IntSortingSorting value to define the position of the custom field
StringDefaultValueDefault value of the custom field, if no content has been defined by the user
BoolIsDeletedTrue, if the custom field has been removed
Dictionary\<string,string>ListValuesKey/Value paris for a single or multiple selection field
StringUnitDisplayed unit of the custom field
StringAccessPermissionPermission that is needed to get the custom field displayed to the user
StringManagePermissionPermission that is needed to manage the content of the custom field.